package util;

import java.util.Date;

public class MeasurementLog {
        
        private int log_id;
        private int sensor_id;
        private String date;
        private String time;
        private String coordinates;
        private int value;
        
        public MeasurementLog()
        {
                
        }
        
        public MeasurementLog(int log_id, int sensor_id, String date, String time,
                        String coordinates, int value) {
                super();
                this.log_id = log_id;
                this.sensor_id = sensor_id;
                this.date = date;
                this.time = time;
                this.coordinates = coordinates;
                this.value = value;
        }

        public String showMeasurementLog()
        {
                String measurementLogs = date + ";" + time + ";" + coordinates + ";" + value;
                return measurementLogs;
        }

        public int getLog_id() {
                return log_id;
        }

        public void setLog_id(int log_id) {
                this.log_id = log_id;
        }

        public int getSensor_id() {
                return sensor_id;
        }

        public void setSensor_id(int sensor_id) {
                this.sensor_id = sensor_id;
        }

        public String getDate() {
                return date;
        }

        public void setDate(String date) {
                this.date = date;
        }

        public String getTime() {
                return time;
        }

        public void setTime(String time) {
                this.time = time;
        }

        public String getCoordinates() {
                return coordinates;
        }

        public void setCoordinates(String coordinates) {
                this.coordinates = coordinates;
        }

        public int getValue() {
                return value;
        }

        public void setValue(int value) {
                this.value = value;
        }

}
